<?php
$this->breadcrumbs = array(
	'材料单据列表' => array(
		'index'
	),
	$model->project->name . ' (' . $model->receiptDate . ')' => array(
		'view',
		'id' => $model->id
	),
	'更新',
);

$this->userActions = array(
	//array('label'=>'List MaterialReceipt', 'url'=>array('index')),
	array(
		'label' => '新建材料票据',
		'url' => array(
			'create'
		)
	),
	array(
		'label' => '查看材料票据',
		'url' => array(
			'view',
			'id' => $model->id
		)
	),
	array(
		'label' => '管理材料票据',
		'url' => array(
			'admin'
		)
	),
);
?>

<h1>更新材料票据 <?php echo $model->id; ?></h1>
<?php echo $this->renderPartial('_form', array(
		'model' => $model
	)); ?>
